Find cycle in a graph

welcome to shbcf.ru